﻿using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CyzFaceWebApi.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class TestReceiveController : ControllerBase
    {
        /// <summary>
        /// 测试方法 
        /// </summary>
        /// <param name="Name"></param>
        /// <returns></returns>
        [HttpGet("Get")]
        public object Get(string Name)
        {
            var obj = new
            {
                Code = 0,
                Dt = DateTime.Now,
                Msg = "DNK: " + Name
            };
            return obj;
        }
    }
}
